<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<!-- Generated Mar 5, 2013 11:44:43 PM by Hibernate Tools 3.2.1.GA -->
<hibernate-mapping>
    <class name="com.edu.hre.db.pojo.HreJobCandidate" table="hre_job_candidate" catalog="hrentry_db">
        <id name="id" type="java.lang.Integer">
            <column name="id" />
            <generator class="identity" />
        </id>
        <property name="firstName" type="string">
            <column name="first_name" length="30" not-null="true" />
        </property>
        <property name="middleName" type="string">
            <column name="middle_name" length="30" />
        </property>
        <property name="lastName" type="string">
            <column name="last_name" length="30" not-null="true" />
        </property>
        <property name="email" type="string">
            <column name="email" length="100" not-null="true" />
        </property>
        <property name="contactNumber" type="string">
            <column name="contact_number" length="30" />
        </property>
        <property name="idCardNumber" type="string">
            <column name="id_card_number" length="30" />
        </property>
        <property name="idCardDateIssued" type="date">
            <column name="id_card_date_issued" length="10" />
        </property>
        <property name="idCardLocationIssued" type="string">
            <column name="id_card_location_issued" length="30" />
        </property>
        <property name="gender" type="java.lang.Integer">
            <column name="gender" />
        </property>
        <property name="maritalStatus" type="string">
            <column name="marital_status" length="10" />
        </property>
        <property name="nationality" type="java.lang.Integer">
            <column name="nationality" />
        </property>
        <property name="imageFileId" type="java.lang.Integer">
            <column name="image_file_id" />
        </property>
        <property name="empBirthday" type="date">
            <column name="emp_birthday" length="10" />
        </property>
        <property name="address" type="string">
            <column name="address" length="100" />
        </property>
        <property name="districtCode" type="string">
            <column name="district_code" length="100" />
        </property>
        <property name="provinCode" type="string">
            <column name="provin_code" length="100" />
        </property>
        <property name="comment" type="string">
            <column name="comment" />
        </property>
        <property name="dateCreated" type="timestamp">
            <column name="date_created" length="19" />
        </property>
        <property name="dateModified" type="timestamp">
            <column name="date_modified" length="19" />
        </property>
        <property name="isDeleted" type="java.lang.Boolean">
            <column name="is_deleted" />
        </property>
    </class>
</hibernate-mapping>
